//get请求JFIF格式图片文件流
export function getJFIF(url, params){
    return new Promise((resolve, reject) =>{
        axios.get(url, {
            params: params,
            responseType: 'arraybuffer'
        }).then(res => {
            resolve(res.data);
        }).catch(err =>{
            reject(err.data)
        })
    });
}

